<template>
	<view>
		<MessageText v-if="msginfo.msgType=='TIMTextElem'" :msginfo="msginfo"></MessageText>
		<MessageRich v-if="msginfo.msgType=='rich'" :msginfo="msginfo"></MessageRich>
		
		<MessageHouse v-if="msginfo.msgType=='TIMCustomElem'" :msginfo="msginfo"></MessageHouse>
	
	</view>
</template>

<script> 
	import MessageText from "./message-text.vue";
	import MessageRich from "./message-rich.vue";
	import MessageHouse from "./message-house.vue";
	export default {
		name:"kb-tallk-message",
		components:{MessageText ,MessageRich,MessageHouse},
		props:{
			msginfo :{
				type:Object,
				default:{},
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style>
 
</style>